package com.tengfei.blogsystem.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;


@Entity
@Table (name="tb_friends")
public class FriendsLink {

  	@Id
	@Column(name = "id" )
  private String id;
  	@Column(name = "name" )
  private String name;
  	@Column(name = "logo" )
  private String logo;
  	@Column(name = "url" )
  private String url;
  	@Column(name = "`order`" )
  private int order;
  	@Column(name = "state" )
  private String state;
  	@Column(name = "create_time" )
  private Date createTime;
  	@Column(name = "update_time" )
  private Date updateTime;


  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getLogo() {
    return logo;
  }

  public void setLogo(String logo) {
    this.logo = logo;
  }


  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }


  public int getOrder() {
    return order;
  }

  public void setOrder(int order) {
    this.order = order;
  }


  public String getState() {
    return state;
  }

  public void setState(String state) {
    this.state = state;
  }


  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }


  public Date getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
  }

}
